2000W / 48V LLC Battery-Charger  V1.00
L0_Interrupt_Config_XMC14xx.c
Go to the documentation of this file.
1 /**********************************************************/
21 /* Einbindung externer Module (include) ------------*/
22 #include "StandardTypes.h"
23 #include "Preprocess.h"
26 
27 /**********************************************************/
28 /*** Lokale Konstanten und Makros (define) ***/
29 /**********************************************************/
30 
31 
32 
33 /**********************************************************/
34 /*** Lokale Typen und Strukturen (typedef) ***/
35 /**********************************************************/
36 
37 
38 
39 /**********************************************************/
40 /*** Lokale Variablen (Definition) ***/
41 /**********************************************************/
42 
43 
44 
45 /**********************************************************/
46 /*** Globale Variablen (Definition) ***/
47 /**********************************************************/
48 
49 
50 
51 /**********************************************************/
52 /*** Lokale Funktionsprototypen (Deklaration) ***/
53 /**********************************************************/
54 
55 
56 
57 /**********************************************************/
58 /*** Lokale Funktionen (Implementation) ***/
59 /**********************************************************/
60 
61 
62 
63 /**********************************************************/
64 /*** Globale Funktionen (Implementation) ***/
65 /**********************************************************/
74 {
75 
76  /* Globale Interrupt Freigabe sperren */
77  __DINT; /* Disable Interrupt Global */
78 
79  /* Einstellen der Interrupt Prioritäten */
80 
81  /* Einstellung und Freigabe Timer - Interrupt (10kHz) */
82  NVIC_SetPriority(IRQ21_IRQn, 2u);
83  NVIC_EnableIRQ(IRQ21_IRQn);
84 
85  /* Einstellung und Freigabe Timer - Interrupt (1kHz) */
86  NVIC_SetPriority(IRQ22_IRQn, 3u);
87  NVIC_EnableIRQ(IRQ22_IRQn);
88 
89 } /* Ende L0_Interrupt_Config */
90 
91 
Typdefinition der ISLE Standard-Datentypen.
Konfiguration und Initialisierung der peripheren Baugruppen
#define __DINT
Definitionen fuer Preprozessor-Anweisungen.
void L0_Interrupt_Config(void)
Konfiguriert die Interrupte.
Konfiguration und Initialisierung der Interrupte und Prioritäten.